package com.ctrip.ec.api.admin.test;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * Created by jiangzy on 2018/11/23.
 */
@Component
@ConfigurationProperties
@PropertySource(value = "classpath:config/a.properties",name = "a")
public class AppEntity {

    public  AppEntity(){
        System.out.println("a");
    }

//    @Value("${appId}")
    private  String appId;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }
}
